package subnarines;
import javax.swing.*;

public class CxkSubmarine extends SeaObject implements EnemyScore,EnemyLife{

    public CxkSubmarine(){
        super(60,60);
    }

    public void move(){
        x += speed;
    }

    public ImageIcon getImage(){return Images.nuclsubm;}

    public int getLife(){
        return 1;
    }

    public int getScore(){
        return 30;
    }

    public Ball shootBall(){
        return new Ball(this.x,this.y);
    }
}